import { baseImageUrl } from "@/app/consts"

export const GENDER_TO_TEXT: Record<"male" | "female", string> = {
  male: "мальчик",
  female: "девочка",
}

export const imageUrl = (src: string | undefined | null) =>
  src ? `${baseImageUrl}${src}` : undefined
